Are There Good Mistakes? A Theoretical Analysis of CEGIS

نویسندگان

  • Susmit Jha
  • Sanjit A. Seshia
چکیده

Counterexample-guided inductive synthesis (CEGIS) is used to synthesize programs from a candidate space of programs. The technique is guaranteed to terminate and synthesize the correct program if the space of candidate programs is finite. But the technique may or may not terminate with the correct program if the candidate space of programs is infinite. In this paper, we perform a theoretical analysis of counterexample-guided inductive synthesis technique. We investigate whether the set of candidate spaces for which the correct program can be synthesized using CEGIS depends on the counterexamples used in inductive synthesis, that is, whether there are good mistakes which would increase the synthesis power. We investigate whether the use of minimal counterexamples instead of arbitrary counterexamples expands the set of candidate spaces of programs for which inductive synthesis can successfully synthesize a correct program. We consider two kinds of counterexamples: minimal counterexamples and history bounded counterexamples. The history bounded counterexample used in any iteration of CEGIS is bounded by the examples used in previous iterations of inductive synthesis. We examine the relative change in power of inductive synthesis in both cases. We show that the synthesis technique using minimal counterexamples MinCEGIS has the same synthesis power as CEGIS but the synthesis technique using history bounded counterexamples HCEGIS has different power than that of CEGIS, but none dominates the other.

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Non-Linear Behavior and Shear Strength of Diagonally Stiffened Steel Plate Shear Walls

In this study, non-linear behavior of diagonally stiffened steel plate shear walls as a seismic resisting system has been investigated, and theoretical formulas for estimating shear strength capacity of the system have been proposed. Several validated analytical finite element models of steel shear walls with various stiffener dimensions are generated to verify and compare the analytical and th...

متن کامل

How Not to Lie with Statistics: Avoiding Common Mistakes in Quantitative Political Science

This article identifies a set of serious theoretical mistakes appearing with troublingly high frequency throughout the quantitative political science literature. These mistakes are all based on faulty statistical theory or on erroneous statistical analysis. Through algebraic and interpretive proofs, some of the most commonly made mistakes are explicated and illustrated. The theoretical problem ...

متن کامل

Synthesis Through Unification

Given a specification and a set of candidate programs (program space), the program synthesis problem is to find a candidate program that satisfies the specification. We present the synthesis through unification (STUN) approach, which is an extension of the counterexample guided inductive synthesis (CEGIS) approach. In CEGIS, the synthesizer maintains a subset S of inputs and a candidate program...

متن کامل

Examining the Ethical Foundations of Compensation for Mistakes and Forgeries in the Preparation of Official Documents

Background: Preparing a formal transaction document is one of the specific duties of notaries public, which requires the use and observance of various substantive and formal conditions. Failure to comply with any of these conditions can lead to the annulment of the document by the court and the responsibility to compensate the clerks. Compensation by the clerks in various articles such as Artic...

متن کامل

یارانه ها اختلالهای قیمتی ناکارایی های نهادی ساختاری

Objectives: To implement goal-directed subsidies policy in framework of the its law is being seriously followed by state. Implementing this policy as it has been defined in the law could be a deep surgery of economy with big negative consequences both in demand and supply sides if its theoretical foundation is wrong. Hence, this paper aims to evaluate the theoretical sufficiency of Neoclas...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2014